<?php

use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateFhSettingTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('fh_setting', function (Blueprint $table) {
            $table->increments('id');
            $table->string('web_name')->default('')->comment('公司名称');
            $table->string('web_logo')->default('')->comment('公司logo');
            $table->string('web_url')->default('')->comment('站点地址');
            $table->string('web_phone')->default('')->comment('电话');
            $table->string('web_keyword')->default('')->comment('关键词');
            $table->string('web_desc')->default('')->comment('公司简介');
            $table->string('web_email')->default('')->comment('公司邮箱');
            $table->string('web_addr')->default('')->comment('公司地址');
            $table->string('web_qrcode')->default('')->comment('二维码');
            $table->string('web_copyright')->default('')->comment('公司版权');
            $table->string('web_beian')->default('')->comment('备案号');
            $table->string('web_js')->default('')->comment('第三方js');
            $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::dropIfExists('fh_setting');
    }
}
